<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta charset="utf-8"/>
    <title>    TFC-Trotri Foundation Classes &raquo; \tfc\auth\Identity
</title>
    <meta name="author" content=""/>
    <meta name="description" content=""/>

            <link href="../css/template.css" rel="stylesheet" media="all"/>
    
            <!--[if lt IE 9]>
        
        <![endif]-->
        <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
        <script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>
        <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script>
        <script src="../js/bootstrap.js" type="text/javascript"></script>
        <script src="../js/template.js" type="text/javascript"></script>
        <script src="../js/prettify/prettify.min.js" type="text/javascript"></script>
    
            <link rel="shortcut icon" href="../img/favicon.ico"/>
        <link rel="apple-touch-icon" href="../img/apple-touch-icon.png"/>
        <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png"/>
        <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png"/>
    </head>
<body>

        <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span> <span class="icon-bar"></span>
                    <span class="icon-bar"></span> </a>
                <a class="brand" href="http://www.trotri.com/">Trotri官网</a><a class="brand" href="../index.html">TFC-Trotri Foundation Classes</a>

                <div class="nav-collapse">
                    <ul class="nav">
                        <li class="dropdown">
                            <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
                                API Documentation <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                                                    <li><a>Namespaces</a></li>
                                                                        <li><a href="../namespaces/tfc.html">tfc</a></li>
                                                                                                                                </ul>
                        </li>
                        <li class="dropdown" id="charts-menu">
                            <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
                                Charts <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../graph_class.html">
                                        <i class="icon-list-alt"></i>&#160;Class hierarchy diagram
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="dropdown" id="reports-menu">
                            <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
                                Reports <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../errors.html">
                                         
                                    </a>
                                </li>
                                <li>
                                    <a href="../markers.html">
                                        <i class="icon-list-alt"></i>&#160;Markers
                                    </a>
                                </li>
                                <li>
                                    <a href="../deprecated.html">
                                        <i class="icon-list-alt"></i>&#160;Deprecated
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="go_to_top">
            <a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>
        </div>
    </div>
    
    <div id="___" class="container">
        <noscript>
            <div class="alert alert-warning">
                Javascript is disabled; several features are only available if Javascript is enabled.
            </div>
        </noscript>

        
            <style>
        .deprecated h2 {
            text-decoration: line-through;
        }
    </style>
    <div class="row">
        <div class="span4">
                    <div class="btn-group view pull-right" data-toggle="buttons-radio">
        <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button>
        <button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
    </div>
    <div class="btn-group visibility" data-toggle="buttons-checkbox">
        <button class="btn public active" title="Show public elements">Public</button>
        <button class="btn protected" title="Show protected elements">Protected</button>
        <button class="btn private" title="Show private elements">Private</button>
        <button class="btn inherited active" title="Show inherited elements">Inherited</button>
    </div>

        <ul class="side-nav nav nav-list">
        <li class="nav-header">
            <i class="icon-custom icon-method"></i> Methods
            <ul>
                                                                                                    <li class="method public">
        <a href="#method_isLogin" title="isLogin :: 判断用户是否已登录">
            <span class="description">判断用户是否已登录</span><pre>isLogin</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getUserId" title="getUserId :: 获取用户ID">
            <span class="description">获取用户ID</span><pre>getUserId</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setUserId" title="setUserId :: 设置用户ID">
            <span class="description">设置用户ID</span><pre>setUserId</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getLoginName" title="getLoginName :: 获取登录名">
            <span class="description">获取登录名</span><pre>getLoginName</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setLoginName" title="setLoginName :: 设置登录名">
            <span class="description">设置登录名</span><pre>setLoginName</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getNickname" title="getNickname :: 获取用户昵称">
            <span class="description">获取用户昵称</span><pre>getNickname</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setNickname" title="setNickname :: 设置用户昵称">
            <span class="description">设置用户昵称</span><pre>setNickname</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getRoleNames" title="getRoleNames :: 获取用户角色名">
            <span class="description">获取用户角色名</span><pre>getRoleNames</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setRoleNames" title="setRoleNames :: 设置用户角色名">
            <span class="description">设置用户角色名</span><pre>setRoleNames</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getAppNames" title="getAppNames :: 获取用户拥有权限的项目名">
            <span class="description">获取用户拥有权限的项目名</span><pre>getAppNames</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setAppNames" title="setAppNames :: 设置用户拥有权限的项目名">
            <span class="description">设置用户拥有权限的项目名</span><pre>setAppNames</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getTypeId" title="getTypeId :: 获取会员类型ID">
            <span class="description">获取会员类型ID</span><pre>getTypeId</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setTypeId" title="setTypeId :: 设置用户拥有权限的项目名">
            <span class="description">设置用户拥有权限的项目名</span><pre>setTypeId</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getRankId" title="getRankId :: 获取会员类型ID">
            <span class="description">获取会员类型ID</span><pre>getRankId</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setRankId" title="setRankId :: 设置用户拥有权限的项目名">
            <span class="description">设置用户拥有权限的项目名</span><pre>setRankId</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getAuthoriz" title="getAuthoriz :: 获取用户身份授权类">
            <span class="description">获取用户身份授权类</span><pre>getAuthoriz</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setAuthoriz" title="setAuthoriz :: 设置用户身份授权类">
            <span class="description">设置用户身份授权类</span><pre>setAuthoriz</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setAll" title="setAll :: 设置所有的值">
            <span class="description">设置所有的值</span><pre>setAll</pre>
        </a>
    </li>

                                                </ul>
        </li>
        <li class="nav-header protected">» Protected
            <ul>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </ul>
        </li>
        <li class="nav-header private">» Private
            <ul>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </ul>
        </li>
        <li class="nav-header">
            <i class="icon-custom icon-constant"></i> Constants
            <ul>
                            </ul>
        </li>
    </ul>


        </div>

        <div class="span8">
            <div class="element class">
                <h1>Identity</h1>
                <small style="display: block; text-align: right">
                                                        </small>
                <p class="short_description">Identity class file
用户身份管理类</p>
                <div class="details">
                    <div class="long_description">
                        
                    </div>
                    <table class="table table-bordered">
                                                                                    <tr>
                                    <th>
                                        author
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>宋欢 <a href="mailto:trotri@yeah.net">trotri@yeah.net</a></p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        version
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>$Id: Identity.php 1 2014-09-03 01:08:06Z huan.song $</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        package
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>tfc.auth</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        since
                                                                            </th>
                                    <td>
                                                                                    1.0
                                                                                
                                    </td>
                                </tr>
                                                                                                                                                                                                                                    </table>

                    <h3><i class="icon-custom icon-method"></i> Methods</h3>
                                                                <a id="method_isLogin"></a>
                        <div class="element clickable method public  method_isLogin" data-toggle="collapse" data-target=".method_isLogin .collapse">
                            <h2>判断用户是否已登录</h2>
                            <pre>isLogin() : boolean</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>boolean</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getUserId"></a>
                        <div class="element clickable method public  method_getUserId" data-toggle="collapse" data-target=".method_getUserId .collapse">
                            <h2>获取用户ID</h2>
                            <pre>getUserId() : integer</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>integer</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setUserId"></a>
                        <div class="element clickable method public  method_setUserId" data-toggle="collapse" data-target=".method_setUserId .collapse">
                            <h2>设置用户ID</h2>
                            <pre>setUserId(integer $id) : void</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$id</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getLoginName"></a>
                        <div class="element clickable method public  method_getLoginName" data-toggle="collapse" data-target=".method_getLoginName .collapse">
                            <h2>获取登录名</h2>
                            <pre>getLoginName() : string</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setLoginName"></a>
                        <div class="element clickable method public  method_setLoginName" data-toggle="collapse" data-target=".method_setLoginName .collapse">
                            <h2>设置登录名</h2>
                            <pre>setLoginName(string $name) : void</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getNickname"></a>
                        <div class="element clickable method public  method_getNickname" data-toggle="collapse" data-target=".method_getNickname .collapse">
                            <h2>获取用户昵称</h2>
                            <pre>getNickname() : string</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setNickname"></a>
                        <div class="element clickable method public  method_setNickname" data-toggle="collapse" data-target=".method_setNickname .collapse">
                            <h2>设置用户昵称</h2>
                            <pre>setNickname(string $name) : void</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getRoleNames"></a>
                        <div class="element clickable method public  method_getRoleNames" data-toggle="collapse" data-target=".method_getRoleNames .collapse">
                            <h2>获取用户角色名</h2>
                            <pre>getRoleNames() : array</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>array</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setRoleNames"></a>
                        <div class="element clickable method public  method_setRoleNames" data-toggle="collapse" data-target=".method_setRoleNames .collapse">
                            <h2>设置用户角色名</h2>
                            <pre>setRoleNames(array $names) : void</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$names</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getAppNames"></a>
                        <div class="element clickable method public  method_getAppNames" data-toggle="collapse" data-target=".method_getAppNames .collapse">
                            <h2>获取用户拥有权限的项目名</h2>
                            <pre>getAppNames() : array</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>array</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setAppNames"></a>
                        <div class="element clickable method public  method_setAppNames" data-toggle="collapse" data-target=".method_setAppNames .collapse">
                            <h2>设置用户拥有权限的项目名</h2>
                            <pre>setAppNames(array $names) : void</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$names</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getTypeId"></a>
                        <div class="element clickable method public  method_getTypeId" data-toggle="collapse" data-target=".method_getTypeId .collapse">
                            <h2>获取会员类型ID</h2>
                            <pre>getTypeId() : integer</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>integer</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setTypeId"></a>
                        <div class="element clickable method public  method_setTypeId" data-toggle="collapse" data-target=".method_setTypeId .collapse">
                            <h2>设置用户拥有权限的项目名</h2>
                            <pre>setTypeId(integer $typeId) : void</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$typeId</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getRankId"></a>
                        <div class="element clickable method public  method_getRankId" data-toggle="collapse" data-target=".method_getRankId .collapse">
                            <h2>获取会员类型ID</h2>
                            <pre>getRankId() : integer</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>integer</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setRankId"></a>
                        <div class="element clickable method public  method_setRankId" data-toggle="collapse" data-target=".method_setRankId .collapse">
                            <h2>设置用户拥有权限的项目名</h2>
                            <pre>setRankId(integer $rankId) : void</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$rankId</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getAuthoriz"></a>
                        <div class="element clickable method public  method_getAuthoriz" data-toggle="collapse" data-target=".method_getAuthoriz .collapse">
                            <h2>获取用户身份授权类</h2>
                            <pre>getAuthoriz() : \tfc\auth\Authoriz</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.auth.Authoriz.html">\tfc\auth\Authoriz</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setAuthoriz"></a>
                        <div class="element clickable method public  method_setAuthoriz" data-toggle="collapse" data-target=".method_setAuthoriz .collapse">
                            <h2>设置用户身份授权类</h2>
                            <pre>setAuthoriz(\tfc\auth\Authoriz $authoriz) : void</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$authoriz</h4>
                                                <code><a href="../classes/tfc.auth.Authoriz.html">\tfc\auth\Authoriz</a></code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setAll"></a>
                        <div class="element clickable method public  method_setAll" data-toggle="collapse" data-target=".method_setAll .collapse">
                            <h2>设置所有的值</h2>
                            <pre>setAll(integer $userId, string $loginName, string $nickname, array $roleNames, array $appNames, integer $typeId, integer $rankId, \tfc\auth\Authoriz $authoriz) : void</pre>
                            <div class="labels">
                                                                <span class="label">static</span>                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$userId</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$loginName</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$nickname</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$roleNames</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$appNames</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$typeId</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$rankId</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$authoriz</h4>
                                                <code><a href="../classes/tfc.auth.Authoriz.html">\tfc\auth\Authoriz</a></code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                    
                    
                                                                <h3><i class="icon-custom icon-property"></i> Properties</h3>
                                                    <a id="property__roleNames"> </a>
                            <div class="element clickable property  protected property__roleNames" data-toggle="collapse" data-target=".property__roleNames .collapse">
                                <h2>用户拥有的角色名</h2>
                                <pre>_roleNames : array</pre>
                                <div class="labels">
                                                                        <span class="label">static</span>                                </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>用户拥有的角色名</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>array</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__appNames"> </a>
                            <div class="element clickable property  protected property__appNames" data-toggle="collapse" data-target=".property__appNames .collapse">
                                <h2>用户拥有权限的项目名</h2>
                                <pre>_appNames : array</pre>
                                <div class="labels">
                                                                        <span class="label">static</span>                                </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>用户拥有权限的项目名</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>array</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__typeId"> </a>
                            <div class="element clickable property  protected property__typeId" data-toggle="collapse" data-target=".property__typeId .collapse">
                                <h2>会员类型ID</h2>
                                <pre>_typeId : integer</pre>
                                <div class="labels">
                                                                        <span class="label">static</span>                                </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>会员类型ID</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>integer</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__rankId"> </a>
                            <div class="element clickable property  protected property__rankId" data-toggle="collapse" data-target=".property__rankId .collapse">
                                <h2>会员成长度ID</h2>
                                <pre>_rankId : integer</pre>
                                <div class="labels">
                                                                        <span class="label">static</span>                                </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>会员成长度ID</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>integer</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__authoriz"> </a>
                            <div class="element clickable property  protected property__authoriz" data-toggle="collapse" data-target=".property__authoriz .collapse">
                                <h2>of tfc\auth\Authoriz</h2>
                                <pre>_authoriz : \tfc\auth\instance</pre>
                                <div class="labels">
                                                                        <span class="label">static</span>                                </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>of tfc\auth\Authoriz</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>\tfc\auth\instance</code>
                                                                            </div>
                                </div>
                            </div>
                                                            </div>
            </div>
            <a id="\tfc\auth\Identity"></a>
            <ul class="breadcrumb">
                <li><a href="../index.html"><i class="icon-custom icon-class"></i></a></li>
                    
    
    <li><span class="divider">\</span><a href="../namespaces/tfc.auth.html">auth</a></li>

                <li class="active"><span class="divider">\</span><a href="../classes/tfc.auth.Identity.html">Identity</a></li>
            </ul>
        </div>
    </div>

    </div>

        <footer class="span12">
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
            <a href="http://glyphicons.com/">Glyphicons</a>.<br/>
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
            generated on Sat, 27 Dec 2014 06:16:38 +0000.<br/>
    </footer>
    </body>
</html>
